<?php
/**  
* aside.php
*
*/

require_once(CLASS_PATH."/__autoload.php");


class Aside extends Module
{
	public function __construct($page)
	{
	  parent::__construct($page);
	}

	public function get_css_linked()
	{  
		$this->add_css_linked_info();   
		return array
		(
			'aside.css'
		);   
	}
	
   public function add_css_linked_info()
   {
		$this->page->css_linked_info = array	  // 요기가 핵심
		(	   
			'aside.css' => array
			(
				"aka_path" => "/2013p79/common/class/aside/css/aside_201301.css",
				"loc_path" => "/2013p79/common/class/aside/css/aside_201301.css",
				"media"    => "all"
			)
		);	   
   }


   public function get_content()
   {
      return <<<EOD
	  
<section id='main_aside'>
	<input id='first' type='radio' name='tab' checked />
	<input id='second' type='radio' name='tab' />
	<section class='buttons'>
		<label for='first'>First</label>
		<label for='second'>Second</label>
	</section>
	
	<div class='tab_item'>
		<ul>
			<li><a href='#' >html5</a></li>
			<li><a href='#' >html5</a></li>
			<li><a href='#' >html5</a></li>
			<li><a href='#' >html5</a></li>
			<li><a href='#' >html5</a></li>
		</ul>
	</div>

	<div class='tab_item'>
		<ul>
			<li><a href='#' >css3</a></li>
			<li><a href='#' >css3</a></li>
			<li><a href='#' >css3</a></li>
			<li><a href='#' >css3</a></li>
			<li><a href='#' >css3</a></li>
		</ul>
	</div>
	
	<span id='noti' > </span>
	
</section> <!-- main_aside  -->
   
EOD;
   }
   
}
?>
